class UtilFunctions {
  static bool startsWitHTTP(String filename) {
    return filename.startsWith('http');
  }

  static String removeCountryCode(String phoneNumber) {
    // Check if the phone number starts with '+251'
    if (phoneNumber.startsWith('+251')) {
      // Remove the first occurrence of '+251'
      return phoneNumber.replaceFirst('+251', '');
    }
    // Return the original phone number if it doesn't start with '+251'
    return phoneNumber;
  }
}
